function plot_time_residual_1000_200_seq()
%close all
h = clf;
data_path = 'result/1000_200_10/';
data_name = { 'anls-seq-1' , 'bpp-seq-1'};
linestyle = {'-', '--'};
%eps_output = '/home/tqlong/Dropbox/report/distnmf/paper1/figures/plot_runtime_res_concensus_1000_200.eps';
eps_output = 'c:/users/wk/Dropbox/report/distnmf/paper1/figures/plot_time_residual_1000_200_seq.eps';
period = [40 69];
quality = {10.^[3:-1:-12], 10.^[3:-1:-12]};

for i=1:length(data_name);
    %[x,y] = plot_period([data_path data_name{i}], linestyle{i}, period(i));
    [x,y] = plot_quality([data_path data_name{i}], linestyle{i}, quality{i});
end
set(gca,'XDir','Reverse')
xlabel('residual');
ylabel('runtime (seconds)');
axis([10.^[(-12) 3] 0 70])
legend('ADMM', 'BPP', 'Location', 'SouthEast');
%title('ADMM');

print(h, '-depsc', '-tiff', '-r300', eps_output);


end



